<%--
  Created by IntelliJ IDEA.
  User: Shisanyang
  Date: 2020/1/3
  Time: 16:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>测试ModelAttribute</title>
</head>
<body>
<h1>修改图书-不能修改书名；</h1>
<form action="/springmvc_war_exploded/modelattr/updateBook" method="post">
    <input type="hidden" name="id" value="100"/>
    书名：西游记；<br/>
    作者：<input type="text" name="author"/><br/>
    价格：<input type="text" name="price"/><br/>
    库存：<input type="text" name="stock"/><br/>
    销量：<input type="text" name="sales"/><br/>
    <input type="submit" value="修改图书"/>
</form>
</body>
</html>
